package tianrun.ziguan.api.calculate.config.service.template.instance;

import com.baomidou.mybatisplus.extension.service.IService;
import tianrun.ziguan.api.calculate.config.dto.request.IndicatorsInstanceVO;
import tianrun.ziguan.api.calculate.config.dto.request.InstanceSelectionBody;
import tianrun.ziguan.api.calculate.config.dto.response.LabelSelectBody;
import tianrun.ziguan.api.calculate.config.dto.response.MoldDesc;
import tianrun.ziguan.api.calculate.config.dto.response.SelectOption;
import tianrun.ziguan.api.calculate.config.entity.TIndicatorsInstance;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author zhaoqi
 */
public interface ITIndicatorsInstanceService extends IService<TIndicatorsInstance> {

    List<TIndicatorsInstance> listByModuleIds(Set<Long> ids);

    List<IndicatorsInstanceVO> listVOByTemplateIds(Set<Long> ids);

    Map<String,Set<String>> selectValue(InstanceSelectionBody body);

    LabelSelectBody selectValueV2(InstanceSelectionBody body);
}
